package com.bbcare.followup.plat.store.ibatis;

import com.bbcare.followup.plat.entity.PtUserInfoCollect;

import java.util.List;

/**
 * @Title		IPtUserInfoCollectDao.java
 * @Package		com.bbcare.followup.plat.store.ibatis
 * @Description	患者建档信息表
 * @Author		<a href="mailto:jiangqian_java@163.com">jiang</a>
 * @Date		2023/9/11
 * @Version		V1.0 
 * @Copyright	(c) Shanghai BBcare Medical Equipment Co.,Ltd.
 */
public interface IPtUserInfoCollectDao {

    /**
     * 新增
     * @author jiangq
     * @date 2023/09/11
     **/
    int insert(PtUserInfoCollect ptUserInfoCollect);

    /**
     * 刪除
     * @author jiangq
     * @date 2023/09/11
     **/
    int delete(int id);

    /**
     * 更新
     * @author jiangq
     * @date 2023/09/11
     **/
    int update(PtUserInfoCollect ptUserInfoCollect);

    /**
     * 查询 根据主键 id 查询
     * @author jiangq
     * @date 2023/09/11
     **/
    PtUserInfoCollect load(int id);

    /**
     * 查询 分页查询
     * @author jiangq
     * @date 2023/09/11
     **/
    List<PtUserInfoCollect> pageList(int offset, int pagesize);

    /**
     * 查询 分页查询 count
     * @author jiangq
     * @date 2023/09/11
     **/
    int pageListCount(int offset,int pagesize);

    /**
     * 查询 条件查询
     * @author jiangq
     * @date 2023/09/11
     **/
    List<PtUserInfoCollect> getDataByCondition(PtUserInfoCollect ptUserInfoCollect);

}
